<script type="text/html" id="replay-template-text">
    <div data-index="{index}">
        <div class="layui-form-item">
            <label class="layui-form-label">
                {{ __('wechat.event_replay_message_text') }}
            </label>
            <div class="layui-input-block">
                            <textarea data-message="text"
                                      class="layui-textarea">{value}</textarea>
                {action}
            </div>
        </div>
    </div>
</script>

<script type="text/html" id="replay-template-image">
    <div data-index="{index}">
        <div class="layui-form-item">
            <label class="layui-form-label">
                {{ __('wechat.event_replay_message_image') }}
            </label>
            <div class="layui-input-block">
                <input data-message="image"
                       value="{value}"
                       class="layui-input"/>
                {action}
            </div>
        </div>
    </div>
</script>

<script type="text/html" id="replay-template-voice">
    <div data-index="{index}">
        <div class="layui-form-item">
            <label class="layui-form-label">
                {{ __('wechat.event_replay_message_voice') }}
            </label>
            <div class="layui-input-block">
                <input data-message="voice"
                       value="{value}"
                       class="layui-input"/>
                {action}
            </div>
        </div>
    </div>
</script>

<script type="text/html" id="replay-template-video">
    <div data-index="{index}">
        <div class="layui-form-item">
            <label class="layui-form-label">
                {{ __('wechat.event_replay_message_video') }}
            </label>
            <div class="layui-input-block">
                <input data-message="video"
                       value="{value}"
                       class="layui-input"/>
                {action}
            </div>
        </div>
    </div>
</script>

<script type="text/html" id="replay-keyword-template">
    <div class="layui-form-item">
        <label class="layui-form-label">
            {{ __('wechat.replay_keyword') }}{index}
        </label>
        <div class="layui-input-block">
            <input name="keyword" type="text" value="{value}" class="layui-input">
            <button type="button" class="layui-btn layui-btn-normal layui-btn-sm" data-message="text">
                {{ __('wechat.event_replay_message_text') }}<i class="layui-icon layui-icon-add-1"></i>
            </button>
            <button type="button" class="layui-btn layui-btn-normal layui-btn-sm" data-message="image">
                {{ __('wechat.event_replay_message_image') }}<i class="layui-icon layui-icon-add-1"></i>
            </button>
            <button type="button" class="layui-btn layui-btn-normal layui-btn-sm" data-message="voice">
                {{ __('wechat.event_replay_message_voice') }}<i class="layui-icon layui-icon-add-1"></i>
            </button>
            <button type="button" class="layui-btn layui-btn-normal layui-btn-sm" data-message="video">
                {{ __('wechat.event_replay_message_video') }}<i class="layui-icon layui-icon-add-1"></i>
            </button>
            <div class="message-item">
                {message}
            </div>
        </div>
    </div>
</script>